'use strict';

function choose_common_elements(collection_a, collection_b) {
  let arr=[];
  for(let i of collection_a){
    if(collection_b.includes(i)){
      arr.push(i);
    }
  }
  return arr;
  //在这里写入代码
}

module.exports = choose_common_elements;
